// 表格列
let tableColumns: any = [
    {
        headerCheckboxSelection: true,
        checkboxSelection: true,
        width: 60,
        showDisabledCheckboxes: false,
        pinned: 'left',
    },
    {
        headerName: '公司',
        field: 'companyName',
        width: 180,
    },
    {
        headerName: '物料编号',
        field: 'materialCode',
        width: 180,
    },
    {
        headerName: '物料名称',
        field: 'materialName',
        width: 180,
    },
    {
        headerName: '固定资产编号',
        field: 'numberId',
        width: 180,
    },
    {
        headerName: '位置号',
        field: 'floorDistrict',
        width: 180,
    },
    {
        headerName: '所属区域',
        field: 'district',
        width: 180,
    },
    {
        headerName: '分摊类型',
        field: 'shareType',
        width: 180,
    },
    {
        headerName: '分摊年限',
        field: 'shareYears',
        width: 180,
    },
    {
        headerName: '时间',
        children: [
            {
                headerName: '入厂时间',
                field: 'joinFactoryTime',
                width: 150
            },
            {
                headerName: '已分摊（月）',
                field: 'upDeprecitionTime',
                width: 150
            },
            {
                headerName: '剩余分摊（月）',
                field: 'difference',
                width: 150
            }
        ]
    },
    {
        headerName: '金额',
        children: [
            {
                headerName: '购买金额',
                field: 'price',
                width: 150
            },
            {
                headerName: '月分摊',
                field: 'shareType',
                width: 150
            },
            {
                headerName: '月分摊金额',
                field: 'Ymoney',
                width: 150
            },
            {
                headerName: '已分摊金额',
                field: 'YFmoney',
                width: 150
            },
            {
                headerName: '未分摊金额',
                field: 'WFmoney',
                width: 150
            }
        ]
    },
    {
        headerName: '备注',
        field: 'remark',
        width: 180,
    },
];

let tableColumns1: any = [
    {
        headerCheckboxSelection: true,
        checkboxSelection: true,
        width: 60,
        showDisabledCheckboxes: false,
        pinned: 'left',
    },
    {
        headerName: '公司',
        field: 'companyName',
        width: 180,
    },
    {
        headerName: '物料编号',
        field: 'materialCode',
        width: 180,
    },
    {
        headerName: '物料名称',
        field: 'materialName',
        width: 180,
    },
    {
        headerName: '固定资产编号',
        field: 'numberId',
        width: 180,
    },
    {
        headerName: '位置号',
        field: 'floorDistrict',
        width: 180,
    },
    {
        headerName: '所属区域',
        field: 'district',
        width: 180,
    },
    {
        headerName: '分摊类型',
        field: 'shareType',
        width: 180,
    },
    {
        headerName: '分摊年限',
        field: 'shareYears',
        width: 180,
    },
    {
        headerName: '入厂时间',
        field: 'joinFactoryTime',
        width: 150
    },
    {
        headerName: '已分摊（月）',
        field: 'upDeprecitionTime',
        width: 150
    },
    {
        headerName: '剩余分摊（月）',
        field: 'difference',
        width: 150
    },
    {
        headerName: '购买金额',
        field: 'price',
        width: 150
    },
    {
        headerName: '月分摊',
        field: 'shareType',
        width: 150
    },
    {
        headerName: '月分摊金额',
        field: 'Ymoney',
        width: 150
    },
    {
        headerName: '已分摊金额',
        field: 'YFmoney',
        width: 150
    },
    {
        headerName: '未分摊金额',
        field: 'WFmoney',
        width: 150
    },
    {
        headerName: '备注',
        field: 'remark',
        width: 150,
    },
]

export {
    tableColumns, tableColumns1
}